<!DOCTYPE>
<html>

<head>
    
    <meta name="keywords" content="快享,享你所想">
    <meta http-equiv="content-type" content="txt/html; charset=utf-8">
    <title>享你所想</title>
    <link href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="css/login.css">
    <script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
    <script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>

<body>
    <div class="login">
        <span>欢迎登陆农资共享</span>
        <form action="/login1" method="POST" >
        账号: <input type="email" name="name" class="form-control" >
        密码:<input type="password" name="password"class="form-control">
        <button type="submit" class="btn btn-default two" >登陆</button>

        <button type="reset" class="btn btn-default two">重置</button>
    </form>
             <!-- 按钮触发模态框 -->
    <a id="change-Passward" data-toggle="modal" data-target="#myModal" href="#myModal">
	注册账号</a>
    </div>

    <!-- 模态框（Modal） -->
    <div class="modal fade" id="myModal" tabindex="-1" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="fault">
					&times;
				</button>
                    <h4 class="modal-title" id="myModalLabel">
                        注册账号
                    </h4>
                </div>
                <form action="/email" method="POST">
                    <div class="modal-body">
                        账&#12288;号: <input type="email" name="name"> <br>  新密码:
                        <input type="password" name="new1_psw"><br> 再确认:
                        <input type="password" name="new2_psw"><br>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                        <button  class="btn btn-primary" type="submit">注册</button>
                    </div>
                </form>
            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal -->
    </div>
</body>

</html>